package regist;

/**
 * 使用观察者模式，完成用注册成功之后，初始化经验,发送邮件等操作.
 *
 * @author GongXincheng
 * @since 2019-09-23 14:57
 */
public class Main {

    public static void main(String[] args) {

        Subject_UserRegist userRegist = new Subject_UserRegist();
        userRegist.userRegist();

    }

/**

 输出：

 用户输入的：UserDto{username='admin', age='null', email='gxc@163.com', experience=null}

 初始化邮箱，积分初始化成功....UserDto{username='admin', age='null', email='gxc@163.com', experience=1000}

 初始化经验，邮箱发送成功....UserDto{username='admin', age='12', email='gxc@163.com', experience=1000}

 用户注册成功，UserDto{username='admin', age='12', email='gxc@163.com', experience=1000}

 */


}
